package dba.example.guice.init

import javax.inject.Inject
import com.google.inject.persist.PersistService
import java.io.FileNotFoundException
import java.io.InputStream
import java.util.Properties
import grizzled.slf4j.Logging
import java.io.IOException
import scala.collection.JavaConverters._
import javax.inject.Named

class Initialisation @Inject() (val ps: PersistService) extends Logging {

  start()
  
  def start() {
    ps.start()
  }

  def stop() {
    ps.stop()
  }

}